package com.jrx.anytxn.transaction.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * 还款贷款信息
 *
 * @author : zhenghaopu
 * 2019/10/23
 */
@ApiModel(value = "还款请求贷款信息实体", description = "还款请求贷款信息实体")
public class PaymentLoanInfoBean implements Serializable {

    /**
     * 外部合同号
     */
    @ApiModelProperty(value = "外部合同号")
    @Size(max=60, message = "外部合同号不能超过60位")
    private String contractNumber;

    /**
     * 订单号
     */
    @ApiModelProperty(value = "订单号")
    @Size(max=32, message = "订单号不能超过32位")
    private String loanId;

    public String getContractNumber() {
        return contractNumber;
    }

    public void setContractNumber(String contractNumber) {
        this.contractNumber = contractNumber;
    }

    public String getLoanId() {
        return loanId;
    }

    public void setLoanId(String loanId) {
        this.loanId = loanId;
    }
}
